package com.wsm.common.business;

import com.wsm.common.domain.BlackipDO;

import com.wsm.common.utils.PageUtils;
import com.wsm.common.utils.Result;
import java.util.Map;

/**
 * 访问黑名单
 * 
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-17 17:03:32
 * @description : 访问黑名单
 */
public interface BlackipBusiness{

	BlackipDO get(Long id);

	Result<PageUtils> list(Map<String, Object> params);
	
	Result save(BlackipDO blackip);
	
	Result update(BlackipDO blackip);
	
	Result remove(Long id);
	
	Result batchRemove(Long[] ids);

	Result removeOrDel(Long id);

	Result batchRemoveOrDel(Long[] ids);

	Result updateUseFlag(Long id, Integer useFlag);
	
}